home *** CD-ROM | disk | FTP | other *** search
- Path: annex-dialup02.med.cornell.edu!user
- From: erik@mail.med.cornell.edu (Erik A. Dahl)
- Newsgroups: comp.lang.c++
- Subject: Strongly Typed Function Pointers
- Date: Wed, 24 Jan 1996 19:56:09 -0500
- Organization: Cornell University Medical College
- Message-ID: <erik-2401961956090001@annex-dialup02.med.cornell.edu>
- NNTP-Posting-Host: annex-dialup02.med.cornell.edu
-
- I have a program that I'm porting from C to C++ which uses void (*)(void*)
- function pointers to call many differant "types" of functions (ones with
- differant argument lists). This of course works in C but I'm dying in C++
- with compiler errors (becuase the pointer isn't of the right type). Is
- there an easy way around this problem??
-
- -EAD
-